package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.pro.domain.entity.ActivityEntity;
import com.xbongbong.saas.domain.entity.EsignSetEntity;

import java.util.List;
import java.util.Map;

/**
 * 签署设置
 * 创建时间 2020/6/20 2:04 PM
 * 修改时间 2020/6/20 2:04 PM
 * @author chy
 */
public interface EsignSetModel extends IModel<EsignSetEntity> {
    @Override
    Integer insert(EsignSetEntity entity);

    @Override
    Integer update(EsignSetEntity entity);

    Integer save(EsignSetEntity entity);

    Integer deleteByKey(Long key);

    EsignSetEntity getByKey(Long key);

    EsignSetEntity getByFormId(String corpid, Long formId);

    @Override
    List<EsignSetEntity> findEntitys(Map<String, Object> param);

    @Override
    Integer getEntitysCount(Map<String, Object> param);
}
